﻿using Model.OverallAtuhModel;

namespace Infrastructure.IRepository.overallAuth
{
    /// <summary>
    /// 菜单数据列仓储接口
    /// </summary>
    public interface ISysMenuTableColsRepository : IRepository<SysMenuTableCols>
    {
        /// <summary>
        /// 根据菜单id和字段名称获取数据列
        /// </summary>
        /// <param name="menuId">菜单id</param>
        /// <param name="fieldName">字段名称</param>
        /// <returns>返回数据列</returns>
        public SysMenuTableCols? GetTableColsByMenuIdOrFieldName(string menuId, string fieldEnName);

        /// <summary>
        /// 修改字段信息
        /// </summary>
        /// <param name="sysMenuTableCols"></param>
        public void UpdateTableCols(SysMenuTableCols sysMenuTableCols);

    }
}
